<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Starting the hibernate.cfg.xml is needed for export of pdf files in browser. 
The remaining configuration is done in the file application-context.xml.  -->
<hibernate-configuration>
<session-factory>
	<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
	<property name="connection.url">jdbc:mysql://localhost/hotelorganizer</property>
	<property name="connection.username">root</property>
	<property name="connection.password"></property>
	<property name="connection.pool_size">1</property>

	<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
	<property name="current_session_context_class">thread</property>
	<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
	<property name="show_sql">true</property>
	<property name="hbm2ddl.auto">update</property>
	
	<mapping package="de.hdu.pms.ho"/>
	<mapping class="de.hdu.pms.ho.model.Arbeitsplan"/>
	<mapping class="de.hdu.pms.ho.model.Kategorie"/>
	<mapping class="de.hdu.pms.ho.model.Kunde"/>
	<mapping class="de.hdu.pms.ho.model.Personal"/>
	<mapping class="de.hdu.pms.ho.model.Zimmer"/>
		
</session-factory>
</hibernate-configuration>